package com.qf.shopping.pojo.article;

import java.io.Serializable;

/**
 * @Author 82024
 * @Date 2019/4/11 20:17
 * @Version 1.0
 * @Description 资讯分类表
 **/
public class ArticleCategory implements Serializable {

    private static final long serialVersionUID = -735500646979189235L;

    private Long id;    //分类ID
    private String name;    //分类名称  0：未启用   1：已启用
    private Integer isDeleted; //是否删除  0：未删除   1：已删除
    private Integer sortNum;   //分类排序
    private Long createTime;    //创建时间
    private Long lastUpdateTime;    //最后更新的时间

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getSortNum() {
        return sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Long lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public ArticleCategory() {
    }

    public ArticleCategory(Long id, String name, Integer isDeleted, Integer sortNum, Long createTime, Long lastUpdateTime) {
        this.id = id;
        this.name = name;
        this.isDeleted = isDeleted;
        this.sortNum = sortNum;
        this.createTime = createTime;
        this.lastUpdateTime = lastUpdateTime;
    }

    @Override
    public String toString() {
        return "ArticleCategory{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", isDeleted=" + isDeleted +
                ", sortNum=" + sortNum +
                ", createTime=" + createTime +
                ", lastUpdateTime=" + lastUpdateTime +
                '}';
    }
}
